From: John Audia Date: Sun, 13 Jul 2025 11:44:31 +0000 (-0400) Subject: libpam: update to 1.7.1 X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22/%22https:/collectd.org/%22?a=commitdiff_plain;h=30d847d63d824a646de4658206419c134c6fc322;p=feed%2Fpackages.git libpam: update to 1.7.1 Release notes: https://github.com/linux-pam/linux-pam/releases/tag/v1.5.3 https://github.com/linux-pam/linux-pam/releases/tag/v1.6.0 https://github.com/linux-pam/linux-pam/releases/tag/v1.6.1 https://github.com/linux-pam/linux-pam/releases/tag/v1.7.0 https://github.com/linux-pam/linux-pam/releases/tag/v1.7.1 Adapt Makefile to use meson and removed patch relating to configure. Build system: x86/64 Build-tested: x86/64-glibc Run-tested: x86/64-glibc Signed-off-by: John Audia --- diff --git a/libs/libpam/Makefile b/libs/libpam/Makefile index abe79042f1..7561fc2094 100644 --- a/libs/libpam/Makefile +++ b/libs/libpam/Makefile @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libpam -PKG_VERSION:=1.5.2 +PKG_VERSION:=1.7.1 PKG_RELEASE:=1 PKG_SOURCE:=Linux-PAM-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=https://github.com/linux-pam/linux-pam/releases/download/v$(PKG_VERSION) -PKG_HASH:=e4ec7131a91da44512574268f493c6d8ca105c87091691b8e9b56ca685d4f94d +PKG_HASH:=21dbcec6e01dd578f14789eac9024a18941e6f2702a05cf91b28c232eeb26ab0 PKG_BUILD_DIR:=$(BUILD_DIR)/Linux-PAM-$(PKG_VERSION) PKG_MAINTAINER:=Nikos Mavrogiannopoulos @@ -26,6 +26,7 @@ PKG_INSTALL:=1 PKG_BUILD_PARALLEL:=1 include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/meson.mk define Package/libpam SECTION:=libs @@ -38,26 +39,17 @@ define Package/libpam/description The Linux-PAM Pluggable Authentication Modules. endef -CONFIGURE_ARGS += \ - --enable-pamlocking \ - --enable-shared \ - --enable-static \ - --disable-audit \ - --disable-cracklib \ - --disable-db \ - --disable-debug \ - --disable-doc \ - --disable-econf \ - --disable-lckpwdf \ - --disable-nis \ - --disable-prelude \ - --disable-regenerate-docu \ - --disable-rpath \ - --disable-selinux \ - --disable-Werror \ - --with-gnu-ld \ - --without-mailspool \ - --without-xauth +MESON_ARGS += \ + -Dpamlocking=true \ + -Daudit=disabled \ + -Ddocs=disabled \ + -Deconf=disabled \ + -Dlckpwdf=false \ + -Dnis=disabled \ + -Dselinux=disabled \ + -Dmailspool=disabled \ + -Ddb=db \ + -Dxauth=disabled define Build/InstallDev $(INSTALL_DIR) $(1)/usr/include diff --git a/libs/libpam/patches/0001-build-always-use-lib-instead-of-lib64.patch b/libs/libpam/patches/0001-build-always-use-lib-instead-of-lib64.patch deleted file mode 100644 index a40274f776..0000000000 --- a/libs/libpam/patches/0001-build-always-use-lib-instead-of-lib64.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/configure.ac -+++ b/configure.ac -@@ -25,7 +25,7 @@ dnl If we use /usr as prefix, use /etc f - then - sysconfdir="/etc" - fi -- if test ${libdir} = '${exec_prefix}/lib' -+ if false - then - case "$host_cpu" in - x86_64|ppc64|s390x|sparc64)